Method and system for controlling access to software features in an electronic device

ABSTRACT

A method and system for controlling access to features on an electronic device, such as a printer, is disclosed. The electronic device is shipped with multiple software features, but one or more of the features may be disabled. According to aspects of the present invention, when a customer subsequently licenses or purchases one of the disabled features, the feature is enabled as follows. A key corresponding to the disabled feature is stored on a portable storage device. When the portable storage device is inserted into the electronic device, the key is customized based on device-specific information of the electronic device, thereby reducing a possibility that the key can be copied and used for enabling the feature on more than one device. The customized key is then used to enable the feature in the electronic device.

FIELD OF THE INVENTION

[0001] The present invention relates to methods for software feature licensing, and more particularly to a method and system for controlling access to software features in an electronic device.

BACKGROUND OF THE INVENTION

[0002] Advanced printers are often shipped to customers as base packages where only a small subset of built-in software features are enabled. Embedded controller software is included in the printers as a product-specific consistent package, and control which capabilities or features of the printer are enabled. After some time, the customer may purchase the additional features from the manufacturer or vendor, and in return, the purchased feature will be enabled.

[0003] A mechanism is required to control the enabling of these features. One solution is to implement feature control through a physical device, such as a compact flash card, and ship printers with a socket for reading the compact flash card. When a customer purchases a new feature, a compact flash card with some information for enabling the feature is sent to the customer. Once the card is inserted into the printer, the feature identified on the card is enabled. The problem with this method is that there is no built-in control to prevent the user from copying the contents of the compact flash to other compact flashes and installing the cards in multiple printers, rather than purchasing the feature option for each printer. Should this type of piracy occur, the printer manufacturer or vendor can lose a great deal of licensing revenue.

[0004] One solution to prevent duplication of the compact flash is to send the compact flash to customers with contents that are unique to the customer's printer. Creating compact flash devices with contents specific to each printer, however, would face prospective time delays due to creating personalized devices, and would increase cost to the point where it would be prohibitive to implement such a feature control.

[0005] Accordingly, what is needed is a method and system for controlling software features in an electronic device, such as a printer, in a manner that maximizes licensing revenue for the manufacturer. The method should be cost effective, easy to implement, and should have the ability to enable multiple features over time. The present invention addresses such a need.

SUMMARY OF THE INVENTION

[0006] The present invention provides a method and system for controlling access to features on an electronic device, such as a printer. The electronic device is shipped with multiple software features, but one or more of the features may be disabled. According to aspects of the present invention, when a customer subsequently licenses or purchases one of the disabled features, the feature is enabled as follows. A key corresponding to the disabled feature is stored on a portable storage device. When the portable storage device is inserted into the electronic device, the key is customized based on device-specific information of the electronic device. The customized key is then used to enable the feature in the electronic device.

[0007] According to the method and system disclosed herein, by customizing the key for each printer, after a customer licenses a feature, the present invention reduces the possibility that the key can be copied and used to enable the feature on more than one printer.

BRIEF DESCRIPTION OF THE DRAWINGS

[0008]FIG. 1 is block diagram illustrating a system for controlling software features in an electronic device in accordance with the present invention.

[0009]FIG. 2 illustrates a flow chart of the process for controlling access to features on an electronic device, such as a printer.

[0010]FIG. 3 illustrates a flow chart illustrating further details of a initialization stage in a preferred embodiment of the present invention.

[0011]FIG. 4 illustrates a flow chart illustrating further details of a feature enable stage in a preferred embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0012] The present invention relates to a mechanism for controlling access to features on an electronic device. The following description is presented to enable one of ordinary skill in the art to make and use the invention and is provided in the context of a patent application and its requirements. Various modifications to the preferred embodiments and the generic principles and features described herein will be readily apparent to those skilled in the art. Thus, the present invention is not intended to be limited to the embodiments shown but is to be accorded the widest scope consistent with the principles and features described herein.

[0013]FIG. 1 is block diagram illustrating a system 10 for controlling software features in an electronic device in accordance with the present invention. In a preferred embodiment, the electronic device comprises a printer 12, but any type of electronic could be used with the system described herein. The printer 12 is sold or leased to a customer by a manufacturer or vendor. The printer 12 typically has a unique identifier, such as a serial number 14, to distinguish it from other printers 12 of the same model. Although the printer 12 is shipped loaded a variety of preloaded software features 16, the printer 12 is typically sold as a base package where only a limited number of the features 16 are enabled, and the rest are disabled. An embedded controller 18 within the printer 12 controls access to these software features 16. After manufacturer, the customer may license one or more additional features 16 from the manufacturer or vendor. The present invention provides a mechanism to enable the licensed features 16 in a secure manner.

[0014] According to the present invention, a portable storage device 20, such as compact flash card, is used to control access to the selected feature 16 in a manner that enables the feature 16 on the printer 12, while preventing the customer from using the portable storage device 20 to enable the same feature 16 in other printers 12. In order to accept the portable storage device 20, the printer 12 is provided with at least one resource socket 22 capable of reading the portable storage device 20. In the preferred embodiment where the portable storage device 20 is a compact flash, the printer 12 includes two compact flash sockets 22 a and 22 b.

[0015]FIG. 2 illustrates a flow diagram of the process for controlling access to features 16 on an electronic device, such as a printer 12, in accordance with a preferred embodiment of the present invention. The present invention operates in two stages; an initialization stage 30 and a feature enable stage 38. Referring to both FIGS. 1 and 2, once a printer 12 customer has selected a feature 16 to license or purchase for a particular model printer 12, the initialization stage begins in step 32, where an appropriate portable storage device 20 for the printer 12 is provided that contains a key 26 corresponding to the licensed feature 16. In step 34, the portable storage device 20 with the corresponding key 26 is inserted into the resource socket 22 a, and the embedded controller 18 customizes the key 26 based on the device-specific information of the printer 12. In a preferred embodiment, the embedded controller 18 hashes the key 26 with the serial number 14 of the printer 12 and overwrites the original key 26 with hashed key 26 on the compact flash.

[0016] After the initialization stage 30, the feature enable stage 36 uses the portable storage device 20 to activate the licensed feature 16. During printer 12 boot-up in step 36, the embedded controller 18 verifies that the key 26 on the portable storage device 20 has been customized correctly for the given printer 12, and enables the corresponding feature 16 on the printer 12 in response.

[0017] In a further aspect of the present invention, the initialization stage 30, in which the key 26 is customized to work with a specific printer 12, is performed by service personnel authorized by the printer 12 manufacturer or vendor. Performing the initialization of the key 26 by authorized personnel, rather than the customer, greatly reduces the possibility that the key 26 can be copied prior to customization and used in other printers 12.

[0018]FIG. 3 illustrates a flow chart illustrating the initialization stage 30 in further detail according to a preferred embodiment of the present invention. The embedded controller 18 invokes the initialization stage in step 50 after the compact flash is inserted into the compact flash socket 22 of the printer 12. In a preferred embodiment, the key 26 is implemented as a keyword contained in a file on the compact flash, where the file name identifies the model of the printer 12. An example of the contents of the compact flash for enabling the feature 16 PCL/PS in a model Infoprint 85 printer 12 is as follows:

[0019] File name: PCLPS85.ff

[0020] Contents: Initial keyword 1

[0021] The embedded controller 18 first determines that the compact flash contains the appropriate type of file in step 52. If not, the read attempt is retried some number of times in step 54 before the process terminates. If the compact flash does contain the appropriate type of file, then in step 56 the embedded controller 18 determines whether the keyword in the file matches any of the keywords for the features 16 stored in the printer 12.

[0022] If the keywords match, then in step 58 the embedded controller 18 reads the printer 12 serial number 14 and hashes the keyword with the printer 12 serial number 14 in step 60, creating an encrypted keyword. In step 62, the embedded controller 18 stores the encrypted keyword on the printer hard drive and on the compact flash, overwriting the original keyword. In a preferred embodiment, the original keyword is overwritten by replacing the original file with a new file that has a different extension and that contains the encrypted keyword. At the end of the process, the compact flash is initialized to enable on the printer 12. However, if the keywords do not match in step 56, or the number of retries is exceeded in step 54, then the process ends and the initialization stage fails. An example of the contents of a successfully initialized compact flash for enabling DBCS fonts in a model Infoprint 85 printer 12 is as follows:

[0023] File name: PCLPS85.ef

[0024] Contents: Encrypted value for a combination of keyword 1 and the Infoprint 85 printer's serial number

[0025] Randomly generated noise

[0026] After configuration by the service personnel, the customer retains possession of the configured compact flash. The compact flash is kept in the compact flash socket 22 and used during the feature enable stage 36 to enable the feature 16 when the printer 12 is powered on.

[0027]FIG. 4 illustrates a flow chart illustrating further details of the feature enable stage 36 in a preferred embodiment of the present invention. The embedded controller 18 invokes the feature enable stage 36 in step 70 when the printer 12 is powered-on. In step 72, the embedded controller 18 verifies that the contents of the compact flash matches the machine type of the printer. In a preferred embodiment, this is determined from the file name and extension of compact flash. In the example above, assuming that the configured compact flash was inserted into a model infoprint 85 printer, then the embedded controller 18 would read the filename “PCLPS85.ef” and determine that the contents of the compact flash match the machine type, model 85.

[0028] If the contents of the compact flash match the machine type and contains an initialized file, then in step 74, the embedded controller 18 verifies that the encrypted keyword on the compact flash matches the encrypted keyword stored on the printer's 12 hard drive. If so, then in step 76, the embedded controller 18 enables the feature 16 identified by the file, in this example “PCLPS.” If the machine type does not match in step 72 or the encrypted values do not match in step 74, then no features 16 are enabled and the process ends.

[0029] A further aspect of the present invention is the ability to enable more than one feature 16 on the printer 12. Referring again to FIG. 1, to enable an additional feature 16 on the printer 12, another compact flash is installed in the second flash socket 22 b of the printer 12. For example, assume that the customer has licensed a second feature 16 for enabling DBCS fonts, which are common to all printer models. An example of the contents of the second compact flash for enabling the DBCS fonts is as follows:

[0030] File name: DBCSFONT.ff

[0031] Contents: Initial keyword 2

[0032] The configuration procedure is run with both compact flashes installed in the printer 12. The configuration process is the same as described above. However, the keyword from the second compact flash is copied to the first compact flash, and the initialization stage 30 is performed as described. This results in the compact flash containing multiple files corresponding to different features 16, each with customized keywords that have been encrypted for that particular printer 12. After the second initialization, the first compact flash would contain the following files:

[0033] File name: PCLPS85.ef

[0034] Contents: Encrypted value for a combination of keyword 1 and the printer's serial number

[0035] Randomly generated noise

[0036] File name: DBCSFONT.ef

[0037] Contents: Encrypted value for a combination of keyword 2 and the printer's serial number

[0038] Randomly generated noise

[0039] After configuration, the second compact flash can be removed from the second resource socket 22 and discarded if desired, unless additional information required to run the feature 16 is resident on the compact flash. During the feature enable stage 36 when the printer 12 is powered on, the embedded controller 18 verifies that the encrypted values on the compact flash match the encrypted values stored in the printer 12, and enables the features 16 listed on the compact flash accordingly.

[0040] According to the present invention, the methodology for printer feature licensing disclosed herein provides the following advantages:

[0041] A single part (storage device) is associated with each feature 16 shipped in the printer 12, which minimizes manufacturing logistics and provides effective means of control for licensing and royalties.

[0042] Customers cannot reuse the compact flash in another printer 12 once the compact flash has been configured.

[0043] Multiple features 16 can be installed on a single printer 12 over a period of time.

[0044] The features 16 installed in a manufactured printer 12 are the same regardless of which features 16 are purchased by the customer.

[0045] The compact flash is consistent regardless of the features 16 purchased.

[0046] The present invention makes it more difficult for customers to enable features 16 for which they should not have access.

[0047] The integrity of distributing manufacturer or vendor software is improved.

[0048] Allows the addition of feature 16 and control within the same framework without changes to the printer 12.

[0049] The methodology is scalable to all printers 12 with compact flash capabilities, and more particularly, the methodology is scalable to all devices with embedded controllers 18 and external resource capabilities.

[0050] The present invention has been described in accordance with the embodiments shown, and one of ordinary skill in the art will readily recognize that there could be variations to the embodiments, and any variations would be within the spirit and scope of the present invention. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims. 

We claim: 1 A method for controlling access to features on an electronic device, wherein at least one of the features is disabled, the method comprising: (a) storing a key corresponding to the disabled feature on a portable storage device; and (b) customizing the key based on device-specific information of the electronic device when the portable storage device is inserted into the electronic device, thereby reducing a possibility that the key can be copied and used for enabling the feature on more than one device. 2 The method of claim 1 wherein step (b) is an initialization stage, the method further including the step of: (c) performing a feature enable stage wherein during boot-up of the electronic device, the electronic device verifies that the key on the portable storage device has been customized correctly for the given printer, and enables the corresponding feature on the printer in response. 3 The method of claim 2 wherein step (b) further includes the step of: performing the initialization stage when the portable storage device is inserted into a first resource socket on the electronic device. 4 The method of claim 3 wherein step (b) further includes the step of: using personnel authorized by a manufacturer or vendor of the electronic device to customize the key during the initialization, thereby reducing the possibility that the key can be copied prior to customization and used in other electronic devices. 5 The method of claim 4 wherein step (b) further includes the step of: hashing the key with the serial number of the electronic device, creating an encrypted key. 6 The method of claim 5 wherein step (b) further includes the step of: storing the encrypted key on the printer and on the portable storage device. 7 The method of claim 6 wherein step (c) further includes the step of: verifying that the encrypted key on the portable storage device matches the encrypted key stored on the electronic device. 8 The method of claim 3 further including the step of: enabling a second feature in the electronic device by providing a second portable storage device that contains a second key corresponding to the second feature, and inserting the second portable storage device into a second resource socket on the electronic device. 9 The method of claim 8 further including the step of: copying the key from the second portable storage device to the first portable storage device, and performing the initialization stage to encrypt the second key. 10 The method of claim 1 wherein step (a) further includes the step of: implementing the key as a keyword contained in a file on the portable storage device. 11 The method of claim 1 wherein step (a) further includes the step of: providing a compact flash as the portable storage device. 12 The method of claim 1 wherein the electronic device comprises a printer. 13 The method of claim 1 wherein the disabled feature is a software feature. 14 A computer-readable medium containing program instructions for controlling access to features on an electronic device, wherein at least one of the features is disabled, the program instructions for: (a) storing a key corresponding to the disabled feature on a portable storage device; and (b) customizing the key based on device-specific information of the electronic device when the portable storage device is inserted into the electronic device, thereby reducing a possibility that the key can be copied and used for enabling the feature on more than one device. 15 The computer-readable medium of claim 14 wherein instruction (b) is an initialization stage, the computer-readable medium further including the instruction of: (c) performing a feature enable stage wherein during boot-up of the electronic device, the electronic device verifies that the key on the portable storage device has been customized correctly for the given printer, and enables the corresponding feature on the printer in response. 16 The computer-readable medium of claim 15 wherein instruction (b) further includes the instruction of: performing the initialization stage when the portable storage device is inserted into a first resource socket on the electronic device. 17 The computer-readable medium of claim 16 wherein instruction (b) further includes the instruction of: using personnel authorized by a manufacturer or vendor of the electronic device to customize the key during the initialization, thereby reducing the possibility that the key can be copied prior to customization and used in other electronic devices. 18 The computer-readable medium of claim 17 wherein instruction (b) further includes the instruction of: hashing the key with the serial number of the electronic device, creating an encrypted key. 19 The computer-readable medium of claim 18 wherein instruction (b) further includes the instruction of: storing the encrypted key on the printer and on the portable storage device. 20 The computer-readable medium of claim 19 wherein instruction (c) further includes the instruction of: verifying that the encrypted key on the portable storage device matches the encrypted key stored on the electronic device. 21 The computer-readable medium of claim 16 further including the instruction of: enabling a second feature in the electronic device by providing a second portable storage device that contains a second key corresponding to the second feature, and inserting the second portable storage device into a second resource socket on the electronic device. 22 The computer-readable medium of claim 21 further including the instruction of: copying the key from the second portable storage device to the first portable storage device, and performing the initialization stage to encrypt the second key. 23 The computer-readable medium of claim 14 wherein instruction (a) further includes the instruction of: implementing the key as a keyword contained in a file on the portable storage device. 24 The computer-readable medium of claim 14 wherein instruction (a) further includes the instruction of: providing a compact flash as the portable storage device. 25 The computer-readable medium of claim 14 wherein the electronic device comprises a printer. 26 The computer-readable medium of claim 14 wherein the disabled feature is a software feature. 27 A system for controlling access to features on an electronic device, comprising an electronic device comprising, a unique identifier that distinguishes the device from other devices of a same model type, multiple preloaded software features, a first receiving socket, and an embedded controller for controlling access to the software features, wherein at least one of the features is disabled; and a portable storage device containing a key corresponding to the disabled feature, wherein when the portable storage device is inserted in the first receiving socket, the embedded controller customizes the key based on the unique identifier, thereby reducing a possibility that the key can be copied and used for enabling the feature on more than one device. 28 The system of claim 27 wherein the embedded controller performs a feature enable stage during boot-up of the electronic device to verify that the key on the portable storage device has been customized correctly for the given electronic device, and enables the corresponding feature on the electronic device in response. 29 The system of claim 28 wherein step (b) further includes the step of: performing the initialization stage when the portable storage device is inserted into a first resource socket on the electronic device. 30 The system of claim 29 wherein step (b) further includes the step of: using personnel authorized by a manufacturer or vendor of the electronic device to customize the key during the initialization, thereby reducing the possibility that the key can be copied prior to customization and used in other electronic devices. 31 The system of claim 30 wherein step (b) further includes the step of: hashing the key with the unique identifier of the electronic device, creating an encrypted key. 32 The system of claim 31 wherein step (b) further includes the step of: storing the encrypted key on the printer and on the portable storage device. 33 The system of claim 32 wherein step (c) further includes the step of: verifying that the encrypted key on the portable storage device matches the encrypted key stored on the electronic device. 34 The system of claim 33 further including the step of: enabling a second feature in the electronic device by providing a second portable storage device that contains a second key corresponding to the second feature, and inserting the second portable storage device into a second resource socket on the electronic device. 35 The system of claim 34 further including the step of: copying the key from the second portable storage device to the first portable storage device, and performing the initialization stage to encrypt the second key. 36 The system of claim 27 wherein step (a) further includes the step of: implementing the key as a keyword contained in a file on the portable storage device. 37 The system of claim 27 wherein step (a) further includes the step of: providing a compact flash as the portable storage device. 38 The system of claim 27 wherein the electronic device comprises a printer. 39 The system of claim 27 wherein the disabled feature is a software feature. 